package com.xls.commonlibrary.wxapi;


import com.xls.commonlibrary.R;
import com.xls.commonlibrary.app.MainApplication;

public class ConstWx {
//    public final static String wxAppId = "wx4d755d8d1e898f6f";
//    public final static String wxAppSecret = "ed8922780c9664ffa44f7b496b6ee3f4";

//    public final static String wxAppId = "wxc47b8823079589d3";
//    public final static String wxAppSecret = "61da9f76911e5d9d1f79b52dce31730b";

    public final static String wxAppId = MainApplication.getAppContext().getString(R.string.wx_app_id);
    public final static String wxAppSecret = MainApplication.getAppContext().getString(R.string.wx_app_secret);


    // mmkv cache key

    // token api info
    final public static String KEY_WX_OPEN_ID = "KEY_WX_OPEN_ID";
    final public static String KEY_WX_UNION_ID = "KEY_WX_UNION_ID";

    final public static String KEY_WX_ACCESS_TOKEN = "KEY_WX_ACCESS_TOKEN";
    final public static String KEY_WX_REFRESH_TOKEN = "KEY_WX_REFRESH_TOKEN";
    final public static String KEY_WX_SCOPE = "KEY_WX_SCOPE";
    final public static String KEY_WX_EXPIRES_IN = "KEY_WX_EXPIRES_IN";


    // person api info
    final public static String KEY_WX_HEADIMGURL = "KEY_WX_HEADIMGURL";
    final public static String KEY_WX_NICKNAME = "KEY_WX_NICKNAME";
    final public static String KEY_WX_SEX = "KEY_WX_SEX";
    final public static String KEY_WX_PROVINCE = "KEY_WX_PROVINCE";
    final public static String KEY_WX_CITY = "KEY_WX_CITY";
    final public static String KEY_WX_COUNTRY = "KEY_WX_COUNTRY";
    final public static String KEY_WX_PRIVILEGE = "KEY_WX_PRIVILEGE";


}
